

//消息提示
export function toast(message,type="success",dangerouslyUseHTMLString=false){
    ElMessage({
        message,
        type,
        dangerouslyUseHTMLString,
        duration:2000
      });
}
//显示页面标题
export function getPageTitle(title, pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}